package com.changan.repository;

import com.changan.enity.People;

import java.util.List;

public interface PeopleRepository {
    public  int save(People people);
    public int deleteById(Integer id);
    public  int update(People people);
    public  People findById(Integer id);
    public List<People> findAll();
    public  People findById2(int id);
    public  People findByName(String name);
    public  People findByIdAndName( Integer id,String name);
    public  int count();
    public  String findNameById(Integer id);
}
